package com.whfc.mach.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.whfc.common.validator.FieldScope;
import com.whfc.common.validator.FieldScopeType;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClasssName MachEditParam
 * @Description 修改设备请求类
 * @Author hw
 * @Date 2020/8/17 18:59
 * @Version 1.0
 */
@Data
public class MachEditParam extends MachAddParam implements Serializable {

    @NotNull
    private Integer machId;

    /**
     * 设备退场时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date outerTime;

}
